package cn.com.haopy.dataes.db.service.main;

import cn.com.haopy.dataes.db.entity.main.HDPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;

public interface HDPermissionService extends IService<HDPermission> {
    Set<String> queryByRoleIds(Integer[] roleIds);
    Set<String> queryByRoleId(Integer roleId);

    boolean checkSuperPermission(Integer roleId);

    boolean deleteByRoleId(Integer roleId);

}
